package com.longqin.business.service;

import com.longqin.business.entity.BusRequirement;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 需求管理 服务类
 * </p>
 *
 * @author longqin
 * @since 2024-12-23
 */
public interface IBusRequirementService extends IService<BusRequirement> {

    BusRequirement getById(int id);
	
	List<BusRequirement> getPage(Integer status, String title, int organizationId, int startIndex, int pageSize);
	
	int getCount(Integer status, String title, int organizationId);
	
    int delete(int id) throws Exception;
    
    int create(BusRequirement entity) throws Exception;
    
    int update(BusRequirement entity) throws Exception;
    
    BusRequirement getByWorkId(int workId);
}
